home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / Developer Essentials May91 / MPW Interfaces & Libraries 3.2 / AIncludes / Folders.a < prev    next >
Encoding:
Text File  |  1991-04-17  |  1.6 KB  |  39 lines  |  [TEXT/MPS ]

  1. ; Version: 1.00
  2. ; Created: Friday, October 20, 1989 at 9:11:52 PM
  3. ; File: Folders.a
  4. ;
  5. ; Assembler Interface to the Macintosh Libraries
  6. ; Copyright Apple Computer, Inc. 1989-90
  7. ; All Rights Reserved
  8. ;
  9. ;--------------------------------------------------------------------
  10.     IF &TYPE('__IncludingFolders__') = 'UNDEFINED' THEN
  11. __IncludingFolders__    SET    1
  12.  
  13. kOnSystemDisk     equ         $8000
  14.  
  15. kCreateFolder     equ         1                         ; true- create a folder or not
  16. kDontCreateFolder equ         0                         ; false
  17.  
  18. kSystemFolderType equ         'macs'                    ; the system folder
  19. kDesktopFolderType equ        'desk'                    ; the desktop folder; objects in this folder show on the desktop
  20. kTrashFolderType  equ         'trsh'                    ; the trash folder; objects in this folder show up in the trash
  21. kWhereToEmptyTrashFolderType equ 'empt'             ; the “empty trash” folder; Finder starts emptying from here down
  22.  
  23. kPrintMonitorDocsFolderType  equ     'prnt'            ; Print Monitor documents
  24.  
  25. kStartupFolderType equ        'strt'                    ; Finder objects (applications, documents, DAs, aliases to …) to open at startup go here
  26. kAppleMenuFolderType equ      'amnu'                    ; Finder objects to put into the Apple menu go here
  27. kControlPanelFolderType equ    'ctrl'                    ; Control Panels go here (may contain INITs)
  28. kExtensionFolderType equ      'extn'                    ; Finder extensions go here
  29.  
  30. kPreferencesFolderType equ    'pref'                    ; preferences for applications go here
  31. kTemporaryFolderType equ      'temp'                    ; temporary files go here (deleted periodically, but don’t rely on it)
  32.  
  33.                   macro
  34.                   _FindFolder
  35.                   moveq       #0,d0
  36.                   dc.w        $A823
  37.                   endm
  38.  
  39.     ENDIF    ; ...already included